home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr26 / netprog.zip / NETPROG.TAR / net / xns.h < prev   
C/C++ Source or Header  |  1989-12-17  |  409b  |  18 lines

  1. /*
  2.  * Definitions for SPP and IDP client/server programs.
  3.  */
  4.  
  5. #include    <stdio.h>
  6. #include    <sys/types.h>
  7. #include    <sys/socket.h>
  8. #include    <netns/ns.h>
  9.  
  10. #define    SPP_SERV_ADDR    "123:02.07.01.00.a1.62:6001"
  11. #define    IDP_SERV_ADDR    "123:02.07.01.00.a1.62:6000"
  12.                 /* <netid>:<hostid>:<port> */
  13. #define    SERV_SPP_PORT    6001
  14. #define    SERV_IDP_PORT    6000
  15.  
  16. char        *pname;
  17. struct ns_addr    ns_addr();    /* BSD library routine */
  18.